package com.zjt.entity;

import lombok.Data;

import javax.persistence.*;

/**
 * 菜单表
 */
@Data
@Table(name = "t_menu")
public class Tmenu {
    @Id
    private Integer id;

    //菜单图标
    private String icon;

    //菜单名字
    private String name;

    //菜单级别
    private Integer state;

    //菜单路径
    private String url;

    //父级菜单id
    @Column(name = "p_id")
    private Integer pId;


}